package array;

public class Test {
    public static void main(String[] args) {
        Array arr1 = new Array(); // Array 类实例
        System.out.println(arr1);

        Array arr2 = new Array("zhangsan", "lisi");
        System.out.println(arr2.length);
        System.out.println(arr2);

        arr2.push("heihei");
        System.out.println(arr2);
        arr2.push("leilei");
        System.out.println(arr2);

        arr2.remove(1);
        System.out.println(arr2);


        arr2.remove(1);
        System.out.println(arr2);



    }
}
